﻿package com.wandian.model
{
	
	import org.puremvc.as3.patterns.proxy.Proxy;
   
    public class GameDataProxy extends Proxy
    {
        private var _xmlData:XMLDataProxy;
        private var _swfData:SwfDataProxy;
        private var _gameData:Array;
        public static const NAME:String = "GameDataProxy";

        public function GameDataProxy(param1:Object = null)
        {
            super(NAME, param1);
            this._xmlData = facade.retrieveProxy(XMLDataProxy.NAME) as XMLDataProxy;
            this._swfData = facade.retrieveProxy(SwfDataProxy.NAME) as SwfDataProxy;
            return;
        }

        public function initLoadSwf() : void
        {
            this._swfData.load();
            return;
        }

        public function get swfData() : SwfDataProxy
        {
            return this._swfData;
        }

        public function get xmlData() : XMLDataProxy
        {
            return this._xmlData;
        }

    }
}
